package org.projecteboot.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.sql.DataSource;

/**
 * @author LuoQiang
 * @date 2019/7/18 16:23
 **/
@SpringBootApplication(scanBasePackages = {"org.projecteboot"})
@MapperScan("org.projecteboot.web.sys.mapper")
public class EbootMainApp {
    @Autowired
    private DataSource dataSource;
    public static void main(String[] args) {
        SpringApplication.run(EbootMainApp.class);
    }
}
